package com.liang.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author liangben
 * @date 10/4/2022 下午 4:35
 */
@ConfigurationProperties(prefix = "demo")
public class DemoProperties {

    private String name;

    private int port;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }
}
